home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8206 / 8206.xpi / content / options.xul < prev    next >
Extensible Markup Language  |  2010-02-02  |  18KB  |  363 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://wisestamp/skin/options.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://wisestamp-platform/content/options-thunderbird.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?>
  7. <?xul-overlay href="chrome://wisestamp/content/editorOverlay.xul"?>
  8. <!DOCTYPE prefwindow SYSTEM "chrome://wisestamp/locale/prefwindow.dtd">
  9. <prefwindow 
  10.     id="BrowserPreferences"
  11.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.     xmlns:xhtml="http://www.w3.org/TR/xhtml1/strict"
  13.     title="&prefwindow.title;" type="wisestamp:settings" spacerflex="0"
  14.     buttons="accept,cancel,extra1,extra2"
  15.     buttonlabelextra1="&signature.apply;"
  16.     buttonlabelextra2="&signature.preview;" 
  17.     ondialogaccept="return WiseStampOptions.onOK();"
  18.     ondialogcancel="return WiseStampOptions.onClose();" 
  19.     ondialogextra1="return WiseStampOptions.onOK();"
  20.     ondialogextra2="WiseStampOptions.previewSignature()"
  21.     lastSelected="paneMain"
  22.     >
  23.     
  24.     <prefpane id="paneMain" label="&general.title;" onpaneload="WiseStampOptions.onLoad(event)">
  25.         <popupset id="optionsPopupset" />
  26.         <preferences>
  27.             <preference id="temppref" name="extensions.wisestamp.temp" type="string" />
  28.         </preferences>
  29.         <vbox style="padding-left: 0px; padding-right: 0px;">
  30.             <hbox>
  31.                 <hbox align="center">
  32.                     <label value="&type.caption;" />
  33.                     <menulist width="200" oncommand="WiseStampOptions.setCurrentSignature(event.target.value, true);">
  34.                         <menupopup id="signature_types_popup">
  35.                             <menuseparator id="signature_types_separater"/>
  36.                             <menuitem id="signature_types_create" label="&signature.create.caption;" oncommand="WiseStampOptions.createNewSigFromMenu(event)"/>
  37.                             <menuitem id="signature_types_premium" label="&signature.premium.caption;" oncommand="WiseStampOptions.showPremiumInfo(event)"/>
  38.                         </menupopup>
  39.                     </menulist>
  40.                     <hbox>
  41.                         <label id="setasdefault" value="&type.setdefault;" class="text-link" onclick="WiseStampOptions.setCurrentAsDefault();" />
  42.                         <label id="isdefault" value="&type.default;" />
  43.                     </hbox>
  44.                 </hbox>
  45.                 <spacer flex="1" />
  46.                 <hbox id="top_header" pack="end" hidden="false">
  47.                     <label id="about" class="text-link" value="&wisestamp.about;" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/about');" />
  48.                     <spacer width="7px" />
  49.                     <label id="help" class="text-link" value="&wisestamp.help;" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/usage-faq');" />
  50.                     <spacer width="7px" />
  51.                 </hbox>
  52.             </hbox>
  53.             <vbox>
  54.                 <hbox>
  55.                     <groupbox orient="horizontal">
  56.                         <caption label="&details.add.caption;" />
  57.                         <vbox flex="8">
  58.                             <vbox mode="wysiwyg" id="editor-container" width="460">
  59.                                 <hbox id="editor-toolbar">
  60.                                     <vbox pack="center">
  61.                                         <deck id="editor-toolbar-deck">
  62.                                             <hbox id="editor-toolbar-container">
  63.                                                 <vbox pack="center">
  64.                                                     <hbox id="editor-toolbar-simple">
  65.                                                     </hbox>
  66.                                                 </vbox>
  67.                                                 <spacer id="editor-toolbar-spacer" flex="1" />
  68.                                             </hbox>
  69.                                             <hbox id="editor-toolbar-replacement">
  70.                                                 <button id="advanced-show" label="&advanced.show;" oncommand="WiseStampOptions.toggleAdvanced('advanced')" />
  71.                                                 <hbox id="advanced-hide" hidden="true" align="center">
  72.                                                     <button label="&advanced.hide;" oncommand="WiseStampOptions.toggleAdvanced('html')" />
  73.                                                 </hbox>
  74.                                             </hbox>
  75.                                         </deck>
  76.                                     </vbox>
  77.                                     <separator class="thin" orient="vertical" width="1" />
  78.                                     <spacer flex="1" />
  79.                                     <button id="editor-toggle-html"
  80.                                         label="&showhtml;" oncommand="WiseStampOptions.toggleEditor(event)"
  81.                                         hidden="false" style="margin: 2px;"
  82.                                         tooltiptext="&editor.switchtohtml.tooltip;" />
  83.                                     <button id="editor-toggle-wysiwyg"
  84.                                         label="&showwysiwyg;" oncommand="WiseStampOptions.toggleEditor(event)"
  85.                                         hidden="true" style="margin: 2px;"
  86.                                         tooltiptext="&editor.switchtowysiwyg.tooltip;" />
  87.                                 </hbox>
  88.                                 <deck id="editor-deck" width="100">
  89.                                     <signaturebox id="signature-wysiwyg-cont" flex="1" height="120">
  90.                                     <editor id="signature-wysiwyg" src="chrome://wisestamp/content/blank.html" flex="1" style="background-color: white;"/>
  91.                                     </signaturebox>
  92.                                     <deck id="signature-html-deck">
  93.                                         <textbox multiline="true" id="signature-html" height="120" flex="1" />
  94.                                         <vbox>
  95.                                             <description>&advanced.description;
  96.                                             </description>
  97.                                             <textbox multiline="true" id="signature-advanced" height="120" flex="1" />
  98.                                         </vbox>
  99.                                     </deck>
  100.                                 </deck>
  101.                             </vbox>
  102.                         </vbox>
  103.                     </groupbox>
  104.                     <groupbox orient="horizontal" width="105">
  105.                         <caption label="&details.example;" />
  106.                         <vbox flex="1" align="center" pack="end" style="margin-bottom: 4px">
  107.                             <image id="signature_example_frame" width="95" height="126" src="chrome://wisestamp/skin/stamp-examp.png"/>
  108.                             <separator class="thin"/>
  109.                             <label value="&details.seemoreexamples;" class="text-link" onclick="WiseStampUtils.openSite('http://wisestamp.com/goodies/category/signature-examples');"/>
  110.                         </vbox>
  111.                     </groupbox>
  112.                 </hbox>
  113.                 <tabbox style="margin: 5px 5px 0px 5px;"> 
  114.                     <tabs>
  115.                         <tab class="services" image="chrome://wisestamp/skin/social.png" label="&service.tab.social;" />
  116.                         <tab class="services" image="chrome://wisestamp/skin/im.png" label="&service.tab.im;" />
  117.                         <tab class="services" image="chrome://wisestamp/skin/rss.png" label="&service.tab.rss;" />
  118.                     </tabs>
  119.                     <tabpanels>
  120.                         <tabpanel id="social_services">
  121.                             <vbox flex="1" style="padding-right: 5px;">
  122.                                 <hbox>
  123.                                     <label value="&service.socialservices.label;" />
  124.                                     <spacer flex="1" />
  125.                                     <label id="addnewservice" value="&service.addmore;" class="text-link" onclick="WiseStampOptions.addNewService();" />
  126.                                     <spacer width="7px" />
  127.                                     <label id="socialformat_label" value="&service.format;" class="text-link" onclick="WiseStampOptions.onSocialFormatDlg();" />
  128.                                 </hbox>
  129.                                 <separator class='thin' />
  130.                                 <scrollbox id="socialservices-scroll" orient="vertical" style="overflow-y: scroll;" flex="1" height="125">
  131.                                     <vbox id="social-services" value="" flex="1" style="padding-right: 5px;">
  132.                                     </vbox>
  133.                                 </scrollbox>
  134.                             </vbox>
  135.                         </tabpanel>
  136.                         <tabpanel id="im">
  137.                             <vbox style="padding-right: 5px;">
  138.                                 <hbox align="right">
  139.                                     <label value="&service.IM;" />
  140.                                     <spacer flex="1" />
  141.                                     <label id="addnewim" value="&im.addmore;" class="text-link" onclick="WiseStampOptions.addNewIM();" />
  142.                                     <spacer width="7px" />
  143.                                     <label id="im_format_label" value="&im.format;" class="text-link" onclick="WiseStampOptions.onImFormatDlg();" />
  144.                                 </hbox>
  145.                                 <separator class='thin' />
  146.                                 <scrollbox id="imservices-scroll" orient="vertical" style="padding-right:15px; overflow-y: scroll;" flex="1" height="125">
  147.                                     <hbox align="center" style="padding-right: 5px;">
  148.                                         <hbox id="im-box" value="" style="display: block;" width="510" />
  149.                                     </hbox>
  150.                                     <spacer flex="1" />
  151.                                 </scrollbox>
  152.                             </vbox>
  153.                         </tabpanel>
  154.                         <tabpanel id="rss">
  155.                             <vbox flex="1">
  156.                                 <label value="&service.rss.label;" />
  157.                                 <separator class='thin' />
  158.                                 <hbox align="center">
  159.                                     <label value="Feed Title: " />
  160.                                     <textbox id="rss-title" value="" flex="1" />
  161.                                 </hbox>
  162.                                 <hbox align="center">
  163.                                     <label value="Feed URL: " />
  164.                                     <textbox id="rss-url" onchange="WiseStampOptions.validateRss('options')" emptytext="http://" flex="1" />
  165.                                     <label id="rss-valid" status="ready" value="validate" onclick="WiseStampOptions.validateRss('options')" />
  166.                                 </hbox>
  167.                                 <separator class='thin' />
  168.                                 <separator class='thin' />
  169.                                 <label class="text-link" value="&service.rss.learn;" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/get-more-feed-ideas');" />
  170.                             </vbox>
  171.                         </tabpanel>
  172.                     </tabpanels>
  173.                 </tabbox>
  174.             </vbox>
  175.         </vbox>
  176.     </prefpane>
  177.     <prefpane id="paneAdvanced" label="&settings.title;" onpaneload="WiseStampOptions.loadSettings()">
  178.         <hbox height="200">
  179.             <groupbox flex="1" width="240">
  180.                 <caption label="&settings.general;" />
  181.                 <checkbox id="autoinsert_compose" label="&settings.autoinsert_compose;" />
  182.                 <checkbox id="autoinsert_thread" label="&settings.autoinsert_thread;" />
  183.                 <separator class="thin" orient="vertical" width="1" />
  184.                 <checkbox id="hidebuttons" label="&settings.hidebuttons;" />
  185.                 <checkbox id="hidestatusbar" label="&settings.hidestatusbar;" />
  186.             </groupbox>
  187.             <groupbox flex="1" orient="horizontal">
  188.                 <caption label="&settings.manage.caption;" />
  189.                 <vbox flex="1">
  190.                     <label id="createSignatureFromDlg" value="&settings.manage.new;" class="text-link" onclick="WiseStampOptions.createNewSigFromMenu(event)" />
  191.                     <scrollbox flex="1" id="manage_sig_scroll" style="overflow-y: auto; overflow-x: hidden;" maxwidth="555" height="105">
  192.                         <vbox id="manage_sig_box" maxwidth="540">
  193.                               <hbox id="manage_new_container" align="center">
  194.                               </hbox>
  195.                         </vbox>
  196.                     </scrollbox>
  197.                     <label id="createSignaturePremium" value="&signature.premium.caption;" class="text-link" onclick="WiseStampOptions.showPremiumInfo(event)" />
  198.                 </vbox>
  199.             </groupbox>
  200.         </hbox>
  201.         <separator class="thin" orient="vertical" width="1" />
  202.         <groupbox>
  203.             <caption label="&settings.format;" />
  204.             <hbox style="padding-bottom: 1em;">
  205.                 <label value="&settings.format.moved;" />
  206.                 <label value="&settings.format.moved.learn;" class="text-link" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/how-to/how-to-change-or-add-a-text-title-before-the-social-profiles-or-im-icons')"/>
  207.             </hbox>
  208.         </groupbox>
  209.         <separator class="thin" orient="vertical" width="1" />
  210.         <groupbox id="supportgroup" orient="horizontal">
  211.             <caption label="&settings.supportnpromote;" />
  212.             <vbox flex="1">
  213.                 <checkbox label="&settings.promoteChk;" id="promoteChk" oncommand="WiseStampOptions.showHideHelpus()" />
  214.                 <deck height="12" id="helpusDeck">
  215.                     <box flex="1" />
  216.                     <label value="&settings.help;" class="text-link" id="helpDonate" onclick="WiseStampUtils.openSite('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40tagadam%2ecom&item_name=Support%20WIseStamp&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8');" style="margin-left: 20px" />
  217.                 </deck>
  218.                 <hbox>
  219.                     <label value="&settings.helpus;" style="margin-right: 4px" onclick="WiseStampUtils.openSite('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40tagadam%2ecom&item_name=Support%20WIseStamp&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8');"/>
  220.                     <label value="&settings.spreadtheword;" class="text-link" id="spreadtheword" onclick="WiseStampUtils.openSite('http://www.wisestamp.com/spread-the-word');" />
  221.                 </hbox>
  222.             </vbox>
  223.             <vbox flex="1" align="center" pack="center">
  224.                 <vbox align="center" pack="center">
  225.                     <label value="&settings.support;" />
  226.                     <image src="chrome://wisestamp/skin/paypal.png" id="donateButton" href="" class="text-link" onclick="WiseStampUtils.openSite('https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40tagadam%2ecom&item_name=Support%20WIseStamp&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8');" />
  227.                 </vbox>
  228.             </vbox>
  229.         </groupbox>
  230.     </prefpane>
  231.     <prefpane id="paneSecurity" label="&account.title;" hidden="true">
  232.         <groupbox style='padding: 10px;'>
  233.             <caption label="&account.settings.title;" />
  234.             
  235.             <hbox flex="1">
  236.                 <label value="&account.purchase.label;" />
  237.                 <label id="about" class="text-link" value="&account.purchase.link;" onclick="WiseStampUtils.openSite('http://wisestamp.freesto.com/users/premium');" />
  238.             </hbox>
  239.  
  240.             <separator class="thin" orient="vertical" width="1" />
  241.             <separator class="thin" orient="vertical" width="1" />
  242.                                 
  243.             <vbox flex="1">    
  244.                 <hbox align="center">        
  245.                     <label width="60" value="&account.settings.email.label;" />
  246.                     <textbox width="250" id="email_edit" />
  247.                 </hbox>
  248.                 <hbox align="center">        
  249.                     <label width="60" value="&account.settings.password.label;" />
  250.                     <textbox width="250" id="password_edit" type="password" />
  251.                 </hbox>
  252.                 <hbox align="center" style='font-size: 88%; color: #444444; margin: 0.2em 0 0.2em 0;'>        
  253.                     <label width="60" value="" />
  254.                     <label value="&account.settings.forgot_password.label;" />
  255.                     <label id="about" class="text-link" value="&account.settings.forgot_password.link;" onclick="WiseStampUtils.openSite('http://wisestamp.freesto.com/users/resetpassword');" />
  256.                     <spacer flex="1" />
  257.                 </hbox>
  258.             </vbox>
  259.             <separator class="thin" orient="vertical" width="1" />
  260.             <hbox>
  261.                 <label width="60" value="" />
  262.                 <button id="account_login" label="&account.settings.buttons.login;" oncommand="WiseStampOptions.onLogin()" />
  263.                 <button id="account_logout" label="&account.settings.buttons.logout;" oncommand="WiseStampOptions.onLogout()" />
  264.                 <spacer flex="1" />
  265.             </hbox>
  266.         </groupbox>
  267.         <separator class="thin" orient="vertical" width="1" />
  268.     </prefpane>
  269.     <prefpane id="paneApplications" label="&sync.title;"  hidden="true">
  270.         <groupbox style='padding: 10px'>
  271.             <caption label="&account.sync.title;" />
  272.             <vbox>
  273.                 <hbox align="start">
  274.                     <button width="110" id="sync_load" label="Load signatures" oncommand="WiseStampOptions.onLoadSignatures()" />
  275.                     <description flex="1" width="410" >&account.sync.buttons.load.desc;</description>
  276.                 </hbox>
  277.                 <separator class="thin" orient="vertical" width="1" />
  278.                 <separator class="thin" orient="vertical" width="1" />
  279.                 <hbox align="start">                    
  280.                     <button width="110" id="sync_save" label="Save signatures" oncommand="WiseStampOptions.onSaveSignatures()" />
  281.                     <label value="&account.sync.buttons.save.desc;" flex="1" />
  282.                 </hbox>
  283.             </vbox>
  284.         </groupbox>
  285.     </prefpane> 
  286.     <prefpane id="panePrivacy" label="&advanced.title;"  hidden="true">
  287.         <groupbox style='padding: 10px;'>
  288.             <caption label="&advanced.settings.title;" />
  289.             <vbox>
  290.                 <hbox>
  291.                     <button label="&advanced.buttons.export;" oncommand="WiseStampOptions.onExportSettings()" />
  292.                     <spacer flex="1" />
  293.                 </hbox>
  294.                 <separator class='thin' />
  295.                 <hbox>
  296.                     <button label="&advanced.buttons.import;" oncommand="WiseStampOptions.onImportSettings()" />
  297.                     <spacer flex="1" />
  298.                 </hbox>
  299.                 <separator class='thin' />
  300.                 <hbox>
  301.                     <button label="&advanced.buttons.reset;" oncommand="WiseStampOptions.onResetSettings()" />
  302.                     <spacer flex="1" />
  303.                 </hbox>
  304.             </vbox>
  305.         </groupbox>
  306.         <separator class='thin' />
  307.         <groupbox style='padding: 10px;'>
  308.             <caption label="&advanced.logging.title;" />
  309.             <vbox>
  310.                 <hbox>
  311.                     <button label="&advanced.buttons.exportLog;" oncommand="WiseStampOptions.onExportLog()" />
  312.                     <spacer flex="1" />
  313.                 </hbox>
  314.             </vbox>
  315.         </groupbox>
  316.         <separator class='thin' />
  317.         <groupbox style='padding: 10px;' hidden="true">
  318.             <caption label="Testing" />
  319.             <vbox>
  320.                 <hbox>
  321.                     <button id='loadTestButton' label="Run load test..." oncommand="WiseStampOptions.onRunLoadTest()" />
  322.                     <spacer flex="1" />
  323.                 </hbox>
  324.             </vbox>
  325.         </groupbox>
  326.     </prefpane>
  327.     <prefpane id="paneContent" label="Premium"  hidden="true">
  328.     </prefpane>
  329.  
  330.     <prefpane id="paneSubmitBug" image='http://spreadsheets.google.com/favicon.ico' label="Submit bug"  hidden="true">
  331.         <iframe type="content" flex="1" height="450px" src="http://spreadsheets.google.com/embeddedform?key=tAxhTHJuZpeP6mD6qn1y78A" frameborder="0" marginheight="0" marginwidth="10" />
  332.     </prefpane>
  333.     
  334.     <hbox class="dlgbuttons" flex="1">
  335.         <button dlgtype="extra2" />
  336.         <spacer flex="1" />
  337.         <button dlgtype="extra1" />
  338.         <button dlgtype="accept" />
  339.         <button dlgtype="cancel" />
  340.     </hbox>
  341.     <script type="application/x-javascript" src="chrome://wisestamp/content/prefs.js"/>
  342.     <script type="application/x-javascript" src="chrome://wisestamp/content/utils.js"/>
  343.     <script type="application/x-javascript" src="chrome://wisestamp/content/comm.js"/>
  344.     <script type="application/x-javascript" src="chrome://wisestamp/content/options.js" />
  345.     <script type="application/x-javascript" src="chrome://wisestamp/content/appspecific.js"/>
  346.     <script type="application/x-javascript" src="chrome://wisestamp/content/signatureFactory.js"/>
  347.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/joint.js" />
  348.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/WiseStampSprintf.js" />
  349.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/request.js" />
  350.  
  351.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.js" />
  352.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.js" />
  353.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.item.js" />
  354.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/rss.data.filter.js" />
  355.  
  356.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/post.formatter.js" />
  357.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/feed.wrapper.js" />
  358.  
  359.     <script type="application/x-javascript" src="chrome://wisestamp/content/rss/xmlrpc.js" />
  360.  
  361.  
  362. </prefwindow>
  363.